#include <iostream>
#include "ListCpp.h"


int main()
{
    ListCpp<int> list;

    ListCpp<int>::CLIter cit = list.Begin();

    for(int i=0;i<100;i++)
    {
        int *j = new int(i);
        list.Insert(list.Begin(),j);
    }

    ListCpp<int>::LIter it = list.Begin();

    for ( ; it != list.End() ;++it )
    {
       std::cout<<" data is<"<<*(it.Get())<<">"<<std::endl;
    }




    for ( ; cit != list.End() ;++cit )
    {
       std::cout<<"data is<"<<*(cit.Get())<<">"<<std::endl;
    }

    std::cout<<( it==cit );

    return 0;
}
